import useHttp from './useHttp'

export const reqMsgListApi = (useId, type = 0, page, size) => {
  return useHttp({
    url: `/leave_msg/v1/${type}/${useId}`,
    method: 'GET',
    params: {
      page,
      size,
    },
  })
}
